 <%= include_tiny_mce_if_needed %>
<h1>Editing article</h1>

<% form_for(@article) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
   <p>
    <%= f.label :short_description %><br />
   <%= f.text_area :short_des%>
  </p>
  <p>
    <%= f.label :content %><br />
   <%= f.text_area :content,:class => 'mceEditor' %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', news_path(@article) %> |
<%= link_to 'Back', articles_path %>